Release 10.1A: OpenEdge Deployment:
WebClient Applications
Handling errors
If the application uses URLs in the
PROPATH, the application is responsible for handling all errors, which might involve URLs, connections, and authentication.URL specification errors
If the
PROPATHcontains an ill-formed URL (for example, one with the percent symbol (%), which is not allowed), the following processing occurs:Connection errors
If the
PROPATHcontains a correctly formed URL but the connection to the Web server fails, the following processing occurs:Authentication errors
If an application uses
SEARCH()orLOAD–IMAGE(), thePROPATHcontains a URL, and authentication on a Web server fails, the following processing occurs:
- When the URL is not a fully qualified path,
SEARCH()andLOAD-IMAGE()do not raise an error and searching continues with the next entry in thePROPATH.- When the URL is a fully qualified path:
- The
SEARCH()function does not raise an error but returns the Unknown value (?).- The
LOAD–IMAGE(),LOAD–IMAGE–DOWN(),LOAD–IMAGE–UP(),LOAD–IMAGE–INSENSITIVE(), andLOAD–ICON()methods raise error 9368, whereserver-nameis the host name of the Web server, as shown:
You can trap this error, request a user ID and password, and try to download the image again, as in the following example:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |